package com.cq.digitalemployee.user.dao;

import com.cq.digitalemployee.user.entity.po.SysUser;
import com.cq.digitalemployee.user.entity.vo.SysUserVo;

import java.util.List;

public interface SysUserDao {
    int deleteByPrimaryKey(String id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUserVo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectByLoginName(String loginName);

    List<SysUserVo> selectAll();

}